package com.sneakxy.mybase4j.generator.config;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

/**
 * @author 潜行的青衣
 * @see
 */
public class GeneratorConfig {
	
	private String basePackage;

	private String table;
	
	private String modelName;
	
	private GeneratorType model;
	
	private GeneratorType repository;
	
	private GeneratorType serviceInterface;
	
	private GeneratorType serviceImpl;
	
	private GeneratorType providerInterface;
	
	private GeneratorType providerImpl;

	@XmlElement(name="Model", namespace="http://www.mybase4j.org/generator")
	public GeneratorType getModel() {
		return model;
	}

	public void setModel(GeneratorType model) {
		this.model = model;
	}

	@XmlElement(name="Repository", namespace="http://www.mybase4j.org/generator")
	public GeneratorType getRepository() {
		return repository;
	}

	public void setRepository(GeneratorType repository) {
		this.repository = repository;
	}

	@XmlElement(name="ServiceInterface", namespace="http://www.mybase4j.org/generator")
	public GeneratorType getServiceInterface() {
		return serviceInterface;
	}

	public void setServiceInterface(GeneratorType serviceInterface) {
		this.serviceInterface = serviceInterface;
	}

	@XmlElement(name="ServiceImpl", namespace="http://www.mybase4j.org/generator")
	public GeneratorType getServiceImpl() {
		return serviceImpl;
	}

	public void setServiceImpl(GeneratorType serviceImpl) {
		this.serviceImpl = serviceImpl;
	}

	@XmlElement(name="ProviderInterface", namespace="http://www.mybase4j.org/generator")
	public GeneratorType getProviderInterface() {
		return providerInterface;
	}

	public void setProviderInterface(GeneratorType providerInterface) {
		this.providerInterface = providerInterface;
	}

	@XmlElement(name="ProviderImpl", namespace="http://www.mybase4j.org/generator")
	public GeneratorType getProviderImpl() {
		return providerImpl;
	}

	public void setProviderImpl(GeneratorType providerImpl) {
		this.providerImpl = providerImpl;
	}

	@XmlAttribute(name="basePackage")
	public String getBasePackage() {
		return basePackage;
	}

	public void setBasePackage(String basePackage) {
		this.basePackage = basePackage;
	}

	@XmlAttribute(name="table")
	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	@XmlAttribute(name="modelName")
	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}
	
}
